Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve counting collected items #2080

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

jan-cerny
Copy link
Member

The function SEXP_list_length turns out to be an unreliable provider of information about the length of the list of the collected items. It is unclear what this function returns. Instead of using SEXP_list_length we will have a counter variable that will count the amount of collected items by the probe.

Fixes: #2076

The function SEXP_list_length turns out to be an unreliable
provider of information about the length of the list of the
collected items. It is unclear what this function returns.
Instead of using SEXP_list_length we will have a counter
variable that will count the amount of collected items
by the probe.

Fixes: OpenSCAP#2076
@jan-cerny jan-cerny marked this pull request as ready for review January 31, 2024 12:45
Copy link
Contributor

@evgenyz evgenyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that tests are stable now. Thank you!

@evgenyz evgenyz merged commit 6506089 into OpenSCAP:maint-1.3 Jan 31, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The collect_limit test randomly fails in copr builds
2 participants